package cn.wolfcode.shop.cloud.service;

import cn.wolfcode.shop.cloud.domain.User;
import cn.wolfcode.shop.cloud.vo.LoginVO;

public interface IUserService {
    User findById(Long id);

    String doLogin(LoginVO vo);

    /**
     * 刷新
     * @param token
     * @return
     */
    boolean refreshTime(String token);

    /**
     * 获取用户信息
     * @param token
     * @return
     */
    User getCurrent(String token);
}
